Build through Mill
SpinalHDL itself can be built with Mill. It can compile/test/publishLocal the existing modules. Build through mill can be much faster than Sbt, which is useful while debugging.
Complie the library
mill __.compile
sbt compile # equivalent alternatives
Run all test suites
mill __.test
sbt test # equivalent alternatives
Run a specified test suite
mill tester.test.testOnly spinal.xxxxx.xxxxx
sbt "tester/testOnly spinal.xxxxx.xxxxx" # equivalent alternatives
Run a specified App
mill tester.runMain spinal.xxxxx.xxxxx
sbt "tester/runMain spinal.xxxxx.xxxxx" # equivalent alternatives
Publish locally
Mill can also publish the library to the local ivy2 repository as a dev
version.
mill __.publishLocal
sbt publishLocal # equivalent alternatives